<?php require VIEWPATH. ADMIN_DIR. DIRECTORY_SEPARATOR. 'header.php'?>
	<div class="message-content no-border" id="id-message-content">
		<div class="message-header clearfix">
			<div class="pull-left">
				<span class="blue bigger-150"><?=$mailInfo['mail_title']?></span>
				<div class="space-4"></div>
				<i class="ace-icon fa fa-star orange2"></i> &nbsp;
				<img class="middle" alt="<?=$sendUser['realname']?>" src="<?=$sendUser['headimgurl']?>" width="32">
				&nbsp; <a href="javascript:;" class="sender"><?=$sendUser['realname']?></a>

				&nbsp;
				<i class="ace-icon fa fa-clock-o bigger-110 orange middle"></i>
				<span class="time grey"><?=date('Y年m月d日 H:i', strtotime($mailInfo['createtime']))?></span>
			</div>
			</div>
		</div>

		<div class="hr hr-double"></div>

		<div class="message-body"><?=$mailInfo['mail_content']?></div>

		<div class="hr hr-double"></div>

		<div class="message-attachment clearfix">
			<div class="attachment-title">
				<span class="blue bolder bigger-110">邮件附件</span>
				&nbsp;
				<span class="grey">(<?=count($attachment)?> 个文件)</span>
			</div>

			&nbsp;
			<ul class="attachment-list pull-left list-unstyled">
				<?php foreach($attachment as $file): ?>
					<li>
						<a href="#" class="attached-file">
							<i class="ace-icon fa fa-film bigger-110"></i>
							<span class="attached-name"><?=$file['name']?></span>
						</a>
						<span class="action-buttons">
							<a href="<?=$file['link']?>" target="_blank">
								<i class="ace-icon fa fa-download bigger-125 blue"></i>
							</a>
						</span>
					</li>
				<?php endforeach; ?>
			</ul>
		</div>
	</div>
<?php require VIEWPATH. ADMIN_DIR. DIRECTORY_SEPARATOR. 'footer.php'?>
<script type="text/javascript">
	$(function(){
	})
</script>